package com.samebuilding.service;

import com.samebuilding.domain.Message;

public interface ChatService {
	public int sendMessage(Message mesg);
	public Message getPrivateMessage(int roomId,int cursor);
	public Message getPublicMessage(int roomId,int cursor);
	public String onLinePeople(int roomId,int State);
	public void login(int roomId);
	public void setPicAdd(int roomId,String picAdd);
	public String getPicAdd(int roomId);
	public String  getCurrentSong(int roomId);
	public void addSongList(int roomId,String url);
	public void setCurrentSong(int roomId,String url);
	public void palyNow(int roomId,String url);
    public void getOut(int roomId,int userId);
    public String out(int roomId,int userId);
    public int inviteDrink(Message mesg);
}
